home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / utility / utilmisc / shutdown.rdm < prev    next >
Text File  |  1997-01-18  |  2KB  |  44 lines

  1. Short:    Shutdown command
  2. Author:   fasten@shw.com (Bernhard Fastenrath)
  3. Uploader: fasten@shw.com (Bernhard Fastenrath)
  4. Version:  5.1
  5. Type:     util/libs
  6.  
  7. Changes since 5.0:
  8. - GCC support fixed (thanks to Gunther Nikl for the bug report).
  9. Changes since 4.1:
  10. - Incompatible change to the message format (due to changes in queue.library).
  11.   Out of date clients will simply refuse messages.
  12.   Out of date servers (the shutdown command) will make clients report
  13.   a random shutdown time (reading illegal memory addresses).
  14. - Compiled with SAS/C 6.57.
  15. Changes since 4.0:
  16. - Applications can delay the shutdown now (see src/delay.c).
  17. Changes since 3.0:
  18. - unmount.c rewritten to send ACTION_INHIBIT to all filesystems at the
  19.   same time (instead of sequentially).
  20. - compiled with SAS/C instead of GCC (which makes it a bit smaller).
  21.  
  22. The Amiga's lack of a shutdown mechanism is probably based on the assumption
  23. that the user is always the direct cause of disk access or at least aware of
  24. the fact that the disks might be accessed at a certain point.
  25. Unfortunately this is obviously not true for BBS systems or Amigas connected
  26. to a LAN or in some other way running in a multiuser environment. It is also
  27. not true for Amigas acting as servers or Amigas doing longer calculations
  28. (e.g. rendering) in the absence of a console user. There's also still the
  29. small chance that the user thinks the disks are idle and it's safe to turn of
  30. the system and a background program chooses this moment to start disk activity.
  31.  
  32. ResetHandler (AmiNet://util/cdity/ResetHandler.lha) executes
  33. s:shutdown-sequence after a keyboard reset. If you want to call shutdown
  34. from s:shutdown-sequence make sure to use the "-i" option to shut down
  35. as fast as possible.
  36.  
  37. This shutdown command requires queue.library (which is included). The full
  38. archive is AmiNet:util/libs/queue.lzh. It can be used with but does not
  39. require shutdown.library (AmiNet:util/boot/Shutdown2_0.lha). The original
  40. shutdown.library was written by Olaf Barthel (olsen@sourcery.han.de).
  41. A small library which is compatible with Olaf's shutdown.library is included.
  42. This is not an update to the original shutdown.library but a full update
  43. might follow.
  44.